import https from "./http";
import {
  config
} from "./apiConfig";
// 获取表字段
export const apiCommon = process.env.NODE_ENV == "development" ? "/zdUrl" : `${config.ip}/docker-service/`;


// 获取字段列表
export function getDic(params, config = {}) {
  return https({
    url: `${apiCommon}/TableType/TableInfo`,
    method: 'get',
    headers: {
      sendKey: "getDic"
    },
    params,
    ...config
  })
}
